<html>
	<head>
		<title>wKeybindings-example</title>
		<script type="text/javascript" src="mootools-beta-1.2b2-compatible.js"></script>
		<script type="text/javascript" src="wKeybindings-v0.2.js"></script>
		<script type="text/javascript">
<!--
function cat() {
	$('output').innerHTML = 'A Gedrueckt';
}

window.addEvent('domready', function() {
	keys = new wKeybindings();

	// 65 = a ; 17 = Strg ; 37 = Pfeil Links ; 18 = Alt ; 83 = s
	keys.addAction(['a'],'cat()');
	keys.addAction([17,68],'$("output").innerHTML = "Test";');
});
//-->
		</script>
	</head>
	<body>
		<div id="debug"></div>
		<b>a</b> oder <b>[STRG]+d</b></b>
		<div id="output" style="padding: 5px; background-color: yellow;"></div>
	</body>
</html>
